Is there a way of having Wordpress render `the_category()` items as an (x)html list?
Posted
by ricebowl
on Stack Overflow
See other posts from Stack Overflow
or by ricebowl
Published on 2010-06-07T12:18:35Z
Indexed on
2010/06/07
12:22 UTC
Read the original article
Hit count: 300
I'm using the following to render the_tags()
in Wordpress 2.9.2, currently developing a theme on localhost:
<?php the_tags('<ul class="postmetadata"><li>','</li><li>','</li></ul>'); ?>
and would like to have same -near-semantic- output from the_category()
, which doesn't seem obviously attainable (having looked at the relevant codex page).
© Stack Overflow or respective owner